export const customerNav = [
    {name:'客户清单',code:'customer'},
    {name:'供货商清单',code:'source'},
]
// 供货商清单信息
export const sourceTableConfig = [
    {
        name: '供货商名称',
        dataIndex: 'sourceName',
        proportion: 3,
        required:true
    },
    {
        name: '供货商地址',
        dataIndex: 'sourceAddress',
        proportion: 3,
        required:false
    },
    {
        name: '供货商电话',
        dataIndex: 'sourcePhone',
        proportion: 3,
        required:false
    },
    {
        name: '供货信息',
        dataIndex: 'sourceSupply',
        proportion: 7,
        required:false
    },
    {
        name: '交易数',
        dataIndex: 'transactionNum',
        proportion: 1,
        required:false
    },
    {
        name: '累计金额',
        dataIndex: 'totalAmount',
        proportion: 2,
        required:false
    },
    {
        name: '欠款金额',
        dataIndex: 'arrears',
        proportion: 2,
        required:false
    },
    {
        name: '操作',
        dataIndex: 'operate',
        width: '120px',   //固定宽度
        required:false
    },
]
// 客户清单
export const customerTableConfig = [
    {
        name: '客户名称',
        dataIndex: 'customerName',
        proportion: 2,
        required:true
    },
    {
        name: '客户地址',
        dataIndex: 'customerAddress',
        proportion: 4,
        required:false
    },
    {
        name: '客户电话',
        dataIndex: 'customerPhone',
        proportion: 2,
        required:false
    },
    {
        name: '客户备注信息',
        dataIndex: 'customerRemarks',
        proportion: 7,
        required:false
    },
    {
        name: '订单数量',
        dataIndex: 'transactionNum',
        proportion: 2,
        center:true,
        required:false
    },
    {
        name: '累计消费',
        dataIndex: 'totalAmount',
        center:true,
        proportion: 2,
        required:false
    },
    {
        name: '欠款金额',
        dataIndex: 'arrears',
        proportion: 2,
        center:true,
        required:false
    },
    {
        name: '操作',
        dataIndex: 'operate',
        center:true,
        width: '120px',   //固定宽度
        required:false
    },
]